package com.fourthGroup.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserCoupon {
    
    private Long id;
    
    private Integer userId;
    
    private Long couponId;
    
    private Integer status; // 0-未使用，1-已使用，2-已过期
    
    private Date useTime;
    
    private Date getTime;
    
    private String orderId; // 使用该优惠券的订单ID
} 